Skip to content

feat: add Claude Fable 5.1 model - #9

Closed
happycastle114 wants to merge 2 commits into
openchamber:mainfrom
happycastle114:feat/fable-5-1
Closed

happycastle114 wants to merge 2 commits into
openchamber:mainfrom
happycastle114:feat/fable-5-1

Conversation

@happycastle114

Copy link
Copy Markdown

Summary\n- add the pinned Claude Fable 5.1 model to the Claude Code catalog\n- add focused catalog coverage for its identifier, display name, and token limits\n\n## Verification\n- bun run build\n- bun run test\n- opencode models claude-code\n- opencode run --model claude-code/claude-fable-5-1 "Reply with exactly: FABLE_5_1_OK"

happycastle114 and others added 2 commits September 2, 2026 12:34
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@mradwankhalil

Copy link
Copy Markdown

Heads-up for whoever merges: #18 (declare input window for 1M models) adds inputWindow: 900_000 to the 1M model objects in the catalog — it surfaces as limit.input in the provider/config entries.

Once both PRs land, the deepEqual in test/models.ts here will need inputWindow: 900_000 added to the expected object for the 1M entries (fable, opus, sonnet); without it the assertion fails on the extra field. 200K entries (haiku) are unaffected.

Order does not matter — whichever merges second makes this one-line test update.

JosueGalRe added a commit to JosueGalRe/opencode-claude that referenced this pull request Sep 22, 2026
@btriapitsyn

Copy link
Copy Markdown
Contributor

Thanks a lot for this, and sorry I didn't see it in time. I ended up shipping the same fix my own way while moving the plugin to OpenCode 2.x, it's in 1.1.0 (models come from Claude Code's own list, Fable 5.1 included). Closing since it's covered now, but your PR pointed right at the problem, really appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants